/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package id3.UIs;

import java.awt.CardLayout;
import javax.swing.JPanel;

/**
 *
 * @author NguyenVan
 */
public class MainPanel extends JPanel{
    private final RandomPanel _RandomPanel=new RandomPanel();
    private final TrainingPanel _TrainingPanel=new TrainingPanel();
    private final TestPanel _TestPanel=new TestPanel();
    
    public final static String RANDOM_PANEL="Random";
    public final static String TRAINING_PANEL="Training";
    public final static String TEST_PANEL="Test";

    public MainPanel() {
        setVisible(true);
        setLayout(new CardLayout());
        
        add(_TrainingPanel,TRAINING_PANEL);
        add(_TestPanel,TEST_PANEL);
        add(_RandomPanel,RANDOM_PANEL);
    }
    
}
